package com.opal.domain;

import java.util.List;

import com.fasterxml.jackson.annotation.JsonInclude;

@JsonInclude(JsonInclude.Include.NON_NULL)
@Deprecated
public class ReturnMessageData {
	
	//状态码
	private int statu;
	//状态消息
	private String message;
	//封装数据
	private Object data;
	//集合数据
	private  List<?> list;

	public ReturnMessageData() {}

	public ReturnMessageData(int statu, String message) {
		this.message = message;
		this.statu = statu;
	}

	public ReturnMessageData( int statu,String message, Object data) {
		this.message = message;
		this.statu = statu;
		this.data = data;
	}
	
	public ReturnMessageData( int statu, String message,List<Object> list) {
		this.message = message;
		this.statu = statu;
		this.list = list;
	}

	public String getMessage() {
		return message;
	}
	public void setMessage(String message) {
		this.message = message;
	}
	public int getStatu() {
		return statu;
	}
	public void setStatu(int statu) {
		this.statu = statu;
	}
	public Object getData() {
		return data;
	}
	public void setData(Object data) {
		this.data = data;
	}
	public List<?> getList() {
		return list;
	}
	public void setList(List<?> list) {
		this.list = list;
	}
	
}
